package com.lilosoft.business.cga.dao;

import com.lilosoft.business.cga.models.EgsProjectMaterials;
import com.lilosoft.business.cga.models.EgsProjectMaterialsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface EgsProjectMaterialsMapper {
    long countByExample(EgsProjectMaterialsExample example);

    int deleteByExample(EgsProjectMaterialsExample example);

    int deleteByPrimaryKey(String materialId);

    int insert(EgsProjectMaterials record);

    int insertSelective(EgsProjectMaterials record);

    List<EgsProjectMaterials> selectByExampleWithBLOBs(EgsProjectMaterialsExample example);

    List<EgsProjectMaterials> selectByExample(EgsProjectMaterialsExample example);

    EgsProjectMaterials selectByPrimaryKey(String materialId);

    int updateByExampleSelective(@Param("record") EgsProjectMaterials record, @Param("example") EgsProjectMaterialsExample example);

    int updateByExampleWithBLOBs(@Param("record") EgsProjectMaterials record, @Param("example") EgsProjectMaterialsExample example);

    int updateByExample(@Param("record") EgsProjectMaterials record, @Param("example") EgsProjectMaterialsExample example);

    int updateByPrimaryKeySelective(EgsProjectMaterials record);

    int updateByPrimaryKeyWithBLOBs(EgsProjectMaterials record);

    int updateByPrimaryKey(EgsProjectMaterials record);
}